const getters = {
	userID: state => state.userInfo.userID,
	avatar: state => state.userInfo.avatar,
	name: state => state.userInfo.name,
	nickName: state => state.userInfo.nickName,
	phone: state => state.userInfo.phone,
	isLogin: state => state.userInfo.isLogin,
	role: state => state.userInfo.role,
	driverCode: state => state.userInfo.driverCode,
	carCode: state => state.userInfo.carCode,
	isTransport: state => state.driverInfo.isTransport,
	idNumber: state => state.userInfo.idNumber,
	birthday: state => state.userInfo.birthday,
	gender: state => state.userInfo.gender,
	carState: state  => state.userInfo.carState,
	//认证姓名
	carName: state => state.userInfo.carName,
	//认证身份证
	code: state => state.userInfo.code,
	carId:state => state.userInfo.carId,
	carIdCard: state => state.userInfo.carIdCard,
	carRearon: state => state.userInfo.carRearon,
	carPicture: state => state.userInfo.carPicture,
	orderList: state => state.orderInfo.orderList,
	listen: state => state.listenOrder.listen,
	
	carList: state => state.vehicle.carList,
	showCarInfoWindow: state => state.vehicle.showCarInfoWindow,
	car: state => state.vehicle.currentCar,
	type: state => state.vehicle.type,
	
	publishOrderList: state => state.publishOrder.publishOrderList,
	showPublishWindow: state => state.publishOrder.showPublishWindow,
	
	driverOrderList: state => state.driverOrderInfo.driverOrderList
}

export default getters